package w1010;

public class Person {
	public int age;
	public static void main(String[] args) {
		int num1 =11;
		int num2=num1;
		System.out.println("num1"+num1);
		num2=22;
		System.out.println(num1);
		System.out.println("*****************");
		Person person1 = new Person();
		person1.age=11;
		Person person2=person1;
		System.out.println("person1.age"+person1.age);
		person2.age=22;
		System.out.println(person1.age);
		System.out.println("**************************");
	}
}
